from typing import List, Dict, Any, Optional
from pydantic import BaseModel


class DispatchResponse(BaseModel):
    """
    对话统筹与路由判断响应模型

    :param route_code: 路由判断结果，1或2
    :param success: 处理是否成功
    :param message: 处理结果消息
    """
    route_code: str
    success: bool
    message: str
    # 定义响应数据模型，包含路由码、成功状态和消息
